home *** CD-ROM | disk | FTP | other *** search
/ Zoom 2 / Zoom - Release 2 (1996)(Active Software)[!].iso / graphics / misc / stereopticon / soguide / a13 < prev    next >
Text File  |  1996-03-20  |  4KB  |  87 lines

  1. STEREOPTIC ANIMATION
  2.  
  3. This example of a Stereoptic IFF {[D03,4,7] animation } will run ten times or until
  4. you press a key.  You can adjust the speed by holding down one or both mouse
  5. buttons.
  6.  
  7. To make a Stereoptic animation, you simply use an animation program (such as
  8. Deluxe Paint 3+) to string together a series of Stereoptic pictures.  But
  9. sometimes a large number of separate pictures are required, and keeping
  10. track of them takes careful organization.
  11.  
  12. Often an animation will be made up of a stationary background picture with
  13. objects moving in front of it.  Instead of processing the background over
  14. and over, you can make up a 32-color Stereoptic backgound picture (with one
  15. or more planes) and save it.  (See {[A10,0,7]MAIN INTERFACE}.)
  16.  
  17. {[0,0,1](A)} ANIMATION SCRIPT MODE: If you press the OK button on the Main Interface
  18. Panel while the ANIM button is depressed, Animation Script Mode will start.
  19. This mode will allow you to write or execute an Animation Script, which can
  20. process any number of animation frames made up of a common stationary
  21. background picture and a changing foreground plane.  The example animation
  22. was processed with this mode.
  23.  
  24. Prepare for writing your script by making a drawer (directory) and putting
  25. into it a Stereoptic background picture and a number of 8-color pictures of
  26. the moving foreground object.
  27.  
  28. When Animation Script Mode begins, you'll see a panel giving you the choice
  29. of writing a script, executing a script, or cancelling.  (Keyboard substi-
  30. tutes: W, E, ESC.)
  31.  
  32. WRITING A SCRIPT: If you choose this option, a {[A19,0,7]file requester} will appear.
  33. Select a location and type in a name for your script, then click OK.  Another
  34. file requester will appear, this time to select the background picture.
  35. Select a 32-color Stereoptic picture with one or more planes.  This informa-
  36. tion will be written to your script file.  (When the script is executed, the
  37. background picture will be assigned to plane A.)
  38.  
  39. Now you must enter information for each animation frame.  A panel will appear
  40. with two buttons and a small text gadget.  Type a single character (B-X) to 
  41. indicate which plane the foreground picture should occupy.  Then click CONT to
  42. continue or STOP to end the script.  (Keyboard substitutes: RETURN, ESC.)
  43.  
  44. If you continue, another file requester will appear, this time to locate
  45. the foreground picture.  (All pictures in a script must be the same size
  46. and mode.)  When you select a picture, it will load, and you can grab the
  47. complete picture by clicking the ALL button or use the grabber (see
  48. {[A11,0,7]PROCESSING THE ARTWORK}) to grab just part.
  49.  
  50. The text gadget panel, the foreground picture file requester, and the
  51. grabber mode will then alternate for each animation frame you choose to add.
  52. When you want to stop adding frames, click STOP in the text gadget panel.
  53.  
  54. You can also write or amend a script with a text editor.  Be sure there
  55. aren't any blank lines or extra spaces, and save ASCII.  Here's what a short
  56. script might look like (it won't be indented, and no remarks are allowed):
  57.  
  58.    SCRIPT                              EXPLANATION
  59.  
  60.    soas                                File ID code (SO Animation Script)
  61.    dh2:anims/gorilla/background.3D     Background picture file
  62.    L                                   Plane for frame 1
  63.    dh2:anims/gorilla/bubble1           Foreground picture file 1
  64.    291                                 X1   Coordinates of grabbed
  65.    181                                 Y1   rectangle (X2 & Y2 must be
  66.    310                                 X2   larger than X1 & Y1)
  67.    199                                 Y2
  68.    M                                   Plane for frame 2
  69.    dh2:anims/gorilla/bubble2           Foreground picture file 2
  70.    294                                               
  71.    169
  72.    312
  73.    188
  74.  
  75. This script would produce two frames--"bubble1.3D" and "bubble2.3D".
  76.  
  77. EXECUTING A SCRIPT: Before you leave the Main Interface Panel, select the
  78. options you want (DOUBLE, WHITE, or TRANS).  Then select ANIM and click OK.
  79. Choose Execute on the next screen, then use the file requester to locate
  80. your script and click OK.
  81.  
  82. From now on, everything will be automatic.  Each frame will be processed,
  83. and the Stereoptic frame will be saved in the same drawer with the added
  84. suffix ".3D".  If you grabbed just a small part of the screen of each fore-
  85. ground picture, the progress will be rapid.  A bell will sound when all the
  86. pictures have been processed and saved.
  87.